<?php
include("./include/om_config.inc");
if(!isset($_SESSION['s_activId']))
{
  $_SESSION['s_urlRedirectDir'] = $_SERVER['REQUEST_URI'];
  header("Location:checkLogin.php");
}
else
{

//$smarty = new SmartyWWW();
//	$userName = $_SESSION['userName'];
//  
//  $smarty->assign("userName", $userName);
//  $smarty->assign("PHP_SELF",$_SERVER['PHP_SELF']);
include("./bottom.php");
$smarty->display('index.tpl');
}
?>